<template>
  <view>
    <my-userInfo v-if="token"></my-userInfo>
    <my-login  v-else></my-login>
  </view>
</template>

<script>
  import tabbarBadge from '@/mixins/tabbar-badge.js'
  import {mapState}  from 'vuex'
  export default {
    mixins: [tabbarBadge],
    data() {
      return {
      
      };
    },
    computed:{
      ...mapState('m_address',['token'])
      
    }
  }
</script>

<style lang="scss">

</style>
